<html>
<head><meta charset="utf-8"><title>Rustdoc adding `doc(cfg(...))` implicitly for `cfg(...)` · t-libs · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/index.html">t-libs</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Rustdoc.20adding.20.60doc(cfg(.2E.2E.2E)).60.20implicitly.20for.20.60cfg(.2E.2E.2E).60.html">Rustdoc adding `doc(cfg(...))` implicitly for `cfg(...)`</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="223446774"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/219381-t-libs/topic/Rustdoc%20adding%20%60doc%28cfg%28...%29%29%60%20implicitly%20for%20%60cfg%28...%29%60/near/223446774" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/219381-t-libs/topic/Rustdoc.20adding.20.60doc(cfg(.2E.2E.2E)).60.20implicitly.20for.20.60cfg(.2E.2E.2E).60.html#223446774">(Jan 20 2021 at 22:34)</a>:</h4>
<p>Not sure where to bring this up, but <a href="https://github.com/rust-lang/rust/pull/79341">https://github.com/rust-lang/rust/pull/79341</a> will make <code>cfg(x)</code> also add <code>dfoc(cfg(x))</code>. Is someone interested in looking at the generated docs to make sure they look appropriate? I'd also be interested in feedback on the feature itself, since I expect the standard library to be one of the biggest users.</p>
<p>It needs a rebase for now, but afterwards I can run a <code>try</code> build so you can run <code>x.py doc --stage 0</code> without having to build rustdoc from source</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>